home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Tools / Useful / ARCHandler / ARC next >
Text File  |  1994-07-14  |  588b  |  18 lines

  1. ; little script to get ARCHandler running on every Workbench version >= 2.04
  2.  
  3. ; check kickstart
  4. Version >NIL: VERSION=37
  5. If WARN
  6.   Echo "ARCHandler needs Kickstart 2.04 or newer!"
  7. Else
  8.   ; try to find LhA
  9.   Execute S/WhichLhA
  10.   If "$lhapath" EQ ""
  11.     Echo "Can't find LhA!*NARCHandler needs LhA."
  12.   Else
  13.     Echo >T:ARCMountList "ARC: Handler=L/arc-handler*NStartup=*"LHA='$lhapath' DISKICON='DEVS:ARCDisk_info' DRAWERICON='DEVS:ARCDrawer_info'*"*NStackSize=4096*NPriority=1*NGlobVec=-1*NMount=1*N#"
  14.     Mount >NIL: ARC: FROM T:ARCMountList
  15.     Delete >NIL: T:ARCMountList
  16.   EndIf
  17. EndIf
  18.